#include "../Model/ssm.h"
#include <stdio.h>

int main()
{
	Control source, dest;

	source.placeholder=12;		//random values

	writeControl("testControl.dat",&source);
	
	readControl("testControl.dat",&dest);

	if(source.placeholder!=dest.placeholder)
	{
		fprintf(stderr,"ERROR:source control != dest control\n");
		return -1;
	}

	return 0;
}
